import routes from './routes'
import VueRouter from 'vue-router'

const router = new VueRouter({
  mode: 'history', // 路由模式
  base: process.env.BASE_URL, // 默认为 '/'
  routes,
})

export default router
